﻿using System;

class IntDevidedBy5and7
{
    static void Main()
    {
        //Exercise 2.
        //Write a boolean expression that checks for given integer if it can be divided (without remainder) by 7 and 5 in the same time.

        Console.Write("Please enter an integer: ");
        int a = int.Parse(Console.ReadLine());
        Console.WriteLine((a % 7 == 0) && (a % 5 == 0));
        Console.WriteLine((a % 7 == 0) && (a % 5 == 0) ? "The number can be devided by 7 and 5 without remainder." : "The number cannot be devided by 7 and 5 without remainder.");

    }
}

